package com.gwl.pattern.strategy;

public class Controller {

	public static void main(String[] args) { 
		
		IStrategy s1 = new StrategyImpl1(); 
		Context c1 = new Context(s1); 
		c1.operate(); 
		
		IStrategy s2 = new StrategyImpl3(); 
		Context c2 = new Context(s2); 
		c2.operate(); 
		
		IStrategy s3 = new StrategyImpl3(); 
		Context c3 = new Context(s3); 
		c3.operate(); 
		
	}
	
}
